
background (0 0 1)

camera
   look-at (0.0 0.0 0.0)
   drop-line (0 -1 0)
   origin (-3 3 -8)
   depth 0.56
   x-size 0.64
   y-size 0.48
   filter standard
;

image
   xsize 640
   ysize 480
;

object
   plane
      position (-1000 0 -1000)
      normal (0 1 0)
      x-axis (1 0 0)
      y-axis (0 0 1)
   ;
   material
      colour (.3 .3 .3)
   ;
;

object
   csg
      intersect
      operand1
         sphere
            centre (0 1 0)
            radius 1
         ;
         material
            colour (1 0 0)
         ;
      ;
      operand2
         box
            a (-0.8 0.2 -0.8)
            b ( 0.8 1.8  0.8)
         ;
         material
            colour (1 0 0)
         ;
      ;
   ;
;


object
   primative csg
      union
      operand1
         sphere
            centre (3 1 0)
            radius 1
         ;
         material
            colour (0 1 0)
         ;
      ;
      operand2
         box
            a ( 2.2 0.2 -0.8)
            b ( 3.8 1.8  0.8)
         ;
         material
            colour (0 1 0)
         ;
      ;
   ;
;

object
   csg
      subtract
      operand2
         sphere
            centre (-3 1 0)
            radius 1
         ;
         material
            colour (0 0 1)
         ;
      ;
      operand1
         box
            a ( -2.2 0.2 -0.8)
            b ( -3.8 1.8  0.8)
         ;
         material
            colour (0 0 1)
         ;
      ;
   ;
;

light
   colour (1 1 1)
   position (-200 1000 -100)
;
